package org.ring.rpc;

/**
 * @since 2024-10-26 15:17
 */
public class RpcServer {

    public static void main(String[] args) {
        RingServer ringServer = new RingServer();
        ringServer.setPort(10000);
        ringServer.addService(new ProviderConfig(new RpcServiceImpl(),RpcService.class.getName()));
        ringServer.start();

    }
}
